ArcPad Graphic Layer File Schema
ArcPad Element
See Also  Send comments on this topic.
ArcPad Graphic Layer File Schema : ArcPad Element

Glossary Item Box

Description

The root element for all ArcPad XML statements.

Diagram

FEATURESET Element Sequence ArcPad Element

Overview

ArcPad
The root element for all ArcPad XML statements.
Sequence
FEATURESET
Defines a series of geometric and text graphics in a graphics layer file (*.apg).
Sequence
COORDSYS
Defines the projection of the data in an ArcPad map file (*.apm) or graphics layer file (*.apg).Defines the projection of the data in an ArcPad map file (*.apm) or graphics layer file (*.apg).
ENVELOPE
Defines an extent rectangle.
FEATURES
Parent tag for geometric and text features in a graphics layer file (*.apg).
Sequence
FEATURE 1..∞
Defines a feature in a graphics layer file (*.apg).
Sequence
GEOMETRY
Defines the geometry of a feature in a graphic layer file (*.apg).
maxx optional xs:double
Right top x-coordinate in map units.
maxy optional xs:double
Right top y-coordinate in map units.
minx optional xs:double
Left bottom x-coordinate in map units.
miny optional xs:double
Left bottom y-coordinate in map units.
type optional Restriction of xs:string
Sequence
POINT
When parent element is PREFERENCES, POINT specifies the point greeking thresholds. When parent element is GEOMETRY or PART, POINT defines a point or vertex in a graphic element. When parent element is REFPOINTS, POINT defines a reference point.
PART
Defines a part for a polyline or polygon graphic element in a graphics layer file (*.apg).
maxx required xs:double
Right top x-coordinate in map units.
maxy required xs:double
Right top y-coordinate in map units.
minx required xs:double
Left bottom x-coordinate in map units.
miny required xs:double
Left bottom y-coordinate in map units.
type optional Restriction of xs:string
Sequence
POINT
When parent element is PREFERENCES, POINT specifies the point greeking thresholds. When parent element is GEOMETRY or PART, POINT defines a point or vertex in a graphic element. When parent element is REFPOINTS, POINT defines a reference point.
SYMBOL
Parent tag for symbology in a graphic layer file (*.apg) or photo layer file (*.aph).
Sequence
COMPLEXLINESYMBOL
Used to symbolize line features. Provides additional symbology options beyond SIMPLELINESYMBOL.
COMPLEXPOLYGONSYMBOL
Used to symbolize polygon features. Provides additional symbology options beyond SIMPLEPOLYGONSYMBOL.
GROUPSYMBOL
Used to symbolize features with multiple symbols acting as a single symbol (e.g., a freeway line symbol consists of a group of 3 line symbols).
RASTERFILLSYMBOL
Symbolizes polygon features using the specified image as a fill symbol.
RASTERMARKERSYMBOL
Symbolizes point features using the specified raster image.
SIMPLELINESYMBOL
Used to symbolize line features.
SIMPLEMARKERSYMBOL
Used to symbolize point features using one of the predefined symbol types: circle, square, cross, triangle, star, X, or diamond.
SIMPLEPOLYGONSYMBOL
Used to symbolize polygon features.
TRUETYPEMARKERSYMBOL
Used to symbolize point features using TrueType symbols.
TEXT
Parent tag for text symbols in a graphic file (*.apg) or photo layer file (*.aph).
text optional xs:string
Sequence
TEXTSYMBOL
Symbol used to label point, line, and polygon layers.
METADATA
The parent element for layer meta data.

Examples

Source

<xs:element name="ArcPad" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>The root element for all ArcPad XML statements.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="FEATURESET">
        <xs:annotation>
          <xs:documentation>Defines a series of geometric and text graphics in a graphics layer file (*.apg).</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="COORDSYS">
              <xs:annotation>
                <xs:documentation>Defines the projection of the data in an ArcPad map file (*.apm) or graphics layer file (*.apg).</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element ref="ENVELOPE">
              <xs:annotation>
                <xs:documentation>Defines an extent rectangle.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="FEATURES">
              <xs:annotation>
                <xs:documentation>Parent tag for geometric and text features in a graphics layer file (*.apg).</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="FEATURE" maxOccurs="unbounded">
                    <xs:annotation>
                      <xs:documentation>Defines a feature in a graphics layer file (*.apg).</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="GEOMETRY">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element ref="POINT" />
                              <xs:element name="PART">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element ref="POINT" />
                                  </xs:sequence>
                                  <xs:attribute ref="maxx" use="required" />
                                  <xs:attribute ref="maxy" use="required" />
                                  <xs:attribute ref="minx" use="required" />
                                  <xs:attribute ref="miny" use="required" />
                                  <xs:attribute name="type">
                                    <xs:simpleType>
                                      <xs:restriction base="xs:string">
                                        <xs:enumeration value="polyline" />
                                        <xs:enumeration value="polylinez" />
                                        <xs:enumeration value="polylinem" />
                                        <xs:enumeration value="polygon" />
                                        <xs:enumeration value="polygonz" />
                                        <xs:enumeration value="polygonm" />
                                        <xs:enumeration value="rect" />
                                        <xs:enumeration value="ellipse" />
                                        <xs:enumeration value="circle" />
                                      </xs:restriction>
                                    </xs:simpleType>
                                  </xs:attribute>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                            <xs:attribute ref="maxx" />
                            <xs:attribute ref="maxy" />
                            <xs:attribute ref="minx" />
                            <xs:attribute ref="miny" />
                            <xs:attribute name="type">
                              <xs:simpleType>
                                <xs:restriction base="xs:string">
                                  <xs:enumeration value="point" />
                                  <xs:enumeration value="pointz" />
                                  <xs:enumeration value="pointm" />
                                  <xs:enumeration value="polyline" />
                                  <xs:enumeration value="polylinez" />
                                  <xs:enumeration value="polylinem" />
                                  <xs:enumeration value="polygon" />
                                  <xs:enumeration value="polygonz" />
                                  <xs:enumeration value="polygonm" />
                                  <xs:enumeration value="rect" />
                                  <xs:enumeration value="ellipse" />
                                  <xs:enumeration value="circle" />
                                </xs:restriction>
                              </xs:simpleType>
                            </xs:attribute>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="SYMBOL">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element ref="COMPLEXLINESYMBOL" />
                              <xs:element ref="COMPLEXPOLYGONSYMBOL" />
                              <xs:element ref="GROUPSYMBOL" />
                              <xs:element ref="RASTERFILLSYMBOL" />
                              <xs:element ref="RASTERMARKERSYMBOL" />
                              <xs:element ref="SIMPLELINESYMBOL" />
                              <xs:element ref="SIMPLEMARKERSYMBOL" />
                              <xs:element ref="SIMPLEPOLYGONSYMBOL" />
                              <xs:element ref="TRUETYPEMARKERSYMBOL" />
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="TEXT">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element ref="TEXTSYMBOL" />
                            </xs:sequence>
                            <xs:attribute ref="text" />
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element ref="METADATA" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.